package device;

/**
 * A <code>Rotatable</code> is an interface to be implemented by any sensor
 * which can detect its orientation on a 2D plane. Examples include
 * potentiometers and encoders.
 * 
 * @author Peter Kalauskas
 */
public interface Rotatable {
	/**
	 * Sets the current position of this <code>Rotatable</code> to be zero
	 * degrees.
	 */
	public void zero();

	/**
	 * Gets the current angle of this <code>Rotatable</code> in degrees.
	 * 
	 * @return the current angle as a degree.
	 */
	public double getDegree();
}
